package com.cqu.lpss.service.impl;

import com.cqu.lpss.mapper.ClassMapper;
import com.cqu.lpss.pojo.Class;
import com.cqu.lpss.service.ClassInterface;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
@Slf4j
public class ClassImpl implements ClassInterface {
    @Autowired
    ClassMapper classMapper;
    @Override
    public List<Class> listAll() {
        List<Class> classlist = classMapper.listAll();
        return classlist;
    }
}
